﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PBOffice.Models;
using PBOffice.DAL;

namespace PBOffice.BLL
{
    public class MeetingRoomManager
    {
        public List<MeetingRoom> GetAllMeetingRoom()
        {
            return new MeetingRoomService().GetAllMeetingRoom();

        }
        public MeetingRoom GetAllMeetingRoom(string no)
        {
            return new MeetingRoomService().GetAllMeetingRoom(no);
        }
        public void AddMeetingRoom(MeetingRoom room)
        {
            new MeetingRoomService().AddMeetingRoom(room);
        }
        public void UpdateMeetingRoom(MeetingRoom room)
        {
            new MeetingRoomService().UpdateMeetingRoom(room);
        }
        public void DeleteMeetingRoom(string no)
        {
            new MeetingRoomService().DeleteMeetingRoom(no);
        }
    }
}
